<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="CSS/style.css" rel="stylesheet" type="text/css" />
        <title>Cadastro de Livros</title>
    </head>
    <body>
        <c:import url="_templates/header.jsp" />        

        <div class="conteudo" style="background-color: #FFF0C0;">
            <h1>Cadastro de Livros</h1>
            <form action="ServletLivros?cmd=adc" method="POST">
                <table>
                    <tr>
                        <td>Nome:</td><td><input type="text" name="nome"/></td>
                    </tr>

                    <tr>
                        <td>Autor:</td>
                        <td><input type="text" name="autor"/></td>
                    </tr>

                    <tr>
                        <td>Editora:</td>
                        <td><input type="text" name="editora"/></td>
                    </tr>    

                    <tr>
                        <td>Preço:</td>
                        <td><input type="text" name="preco" size="20"/></td>
                    </tr>

                    <tr>
                        <td>Edição(aaaa):</td>
                        <td><input type="text" name="edicao" size="20"/></td>
                    </tr>                                              


                    <tr>
                        <td colspan="2">
                            <input type ="submit" name="btCadastrar" value="Cadastrar"/>

                    </tr>
                </table>

            </form>
        </div>
        <c:import url="_templates/footer.jsp" />

    </body>
</html>
